/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unit;

/**
 *
 * @author SONY VAIO
 */
public class Media {
    public int SukaMedia; //  1 = Ya; 2 = No;
    public int SukaJurnalistik; // 1 = Ya; 2 = No;
    public int SukaBroadcasting; // 1 = Ya; 2 = No;
    public int InformasiMediaJurnalistik; // 1 = ITB; 2 = Global
    public int InformasiWartawan; // 1 = Ya; 2 = Tidak
    public int JenisMediaBroadcast; // 1 = Radio; 2 = TV; 3 = Tidak kedua-duanya;
    public int PengalamanRadio; // 1 = Ya; 2 = Tidak

    public Media(){
        SukaMedia = 0;
        SukaJurnalistik = 0;
        SukaBroadcasting = 0;
        InformasiMediaJurnalistik = 0;
        InformasiWartawan = 0;
        JenisMediaBroadcast = 0;
        PengalamanRadio = 0;
    }

    public void SetSukaMedia(int value){
        SukaMedia = value;
    }

    public void SetSukaJurnalistik(int value){
        SukaJurnalistik = value;
    }

    public void SetSukaBroadcasting(int value){
        SukaBroadcasting = value;
    }

    public void SetInformasiMediaJurnalistik(int value){
        InformasiMediaJurnalistik = value;
    }

    public void SetInformasiWartawan(int value){
        InformasiWartawan = value;
    }

    public void SetJenisMediaBroadcast(int value){
        JenisMediaBroadcast = value;
    }

    public void SetPengalamanRadio(int value){
        PengalamanRadio = value;
    }

    public void PrintAllAtribut(){
        System.out.println("Suka Media = " +SukaMedia);
        System.out.println("Suka Jurnalistik = " + SukaJurnalistik);
        System.out.println("Suka Broadcasting = " + SukaBroadcasting);
        System.out.println("Informasi Jurnalistik = " + InformasiMediaJurnalistik);
        System.out.println("Informasi Wartawan = " + InformasiWartawan);
        System.out.println("Jenis Media Broadcast = " + JenisMediaBroadcast);
        System.out.println("Pengalaman Radio = " + PengalamanRadio);
    }
}
